package ru.vboxdc.actions;

import com.opensymphony.xwork2.ActionSupport;
import ru.vboxdc.ObjectPool;
import ru.vboxdc.domain.VirtualMachine;
import ru.vboxdc.domain.HostServer;

import java.util.List;

/**
 * User: lelon
 * Date: 29.01.2009
 * Time: 18:13:17
 */
public class HostServerList extends ActionSupport {

    List<HostServer> hostServerList;

    public String execute() {
        hostServerList =ObjectPool.get().getHostServers();
        return SUCCESS;
    }

    public List<HostServer> getHostServers() {
        return hostServerList;
    }
}